home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1996 #6 / Amiga Plus CD - 1996 - No. 06.iso / pd / netz / amimud / install_amimud < prev    next >
Text File  |  1996-07-24  |  2KB  |  99 lines

  1. ; ************************************************
  2. ; *
  3. ; * AmiMUD - HD Install Script
  4. ; *
  5. ; * $VER: Install_AmiMUD 1.0
  6. ; *
  7. ; * Script written by Gabriele Greco
  8. ; *
  9. ; ************************************************
  10.  
  11.  
  12. (set ToolSource         "AmiMUD")
  13. (set ConfigSource       "amimud.prefs")
  14. (set DocSource          "AmiMUD.guide")
  15. (set DocSource2         "AmiMUD.readme")
  16.  
  17. ; (set LangSource         "Catalogs/")
  18. (set LibSource1         "Libs/socket.library")
  19. (set LibSource2         "Libs/reqtools.library")
  20.  
  21. (set CopyLib1Prompt     "Copy socket.library? (needed only with AmiTCP and Miami)")
  22. (set CopyLib2Prompt     "Copy reqtools.library?")
  23. (set ToolDirPrompt      "Where do you want to install AmiMUD? (a new directory will NOT be created) ")
  24. (set ConfigDirPrompt    "Do you want to install an example configuration? (may need some manual editing...)")
  25. (set DocDirPrompt         "Would you like to install the default documetation?")
  26.  
  27. (set ToolCopyPrompt     "Copying AmiMUD...")
  28. (set ConfigCopyPrompt   "Copying AmiMUD example configuration...")
  29.  
  30. ;(set LangCopyPrompt     "Copying locale files...")
  31.  
  32.  
  33. (set ToolDir (askdir
  34.     (prompt ToolDirPrompt)
  35.     (help   @askdir-help)
  36.     (default "work:")
  37. ))
  38.  
  39. (set PrefsDir (askdir
  40.     (prompt ConfigDirPrompt)
  41.     (help   @askdir-help)
  42.     (default "s:")
  43. ))
  44.  
  45. (copyfiles
  46.     (prompt ToolCopyPrompt)
  47.     (help   @copyfiles-help)
  48.     (source ToolSource)
  49.     (dest   ToolDir)
  50.     (infos)
  51. )
  52.  
  53. (copyfiles
  54.     (prompt DocDirPrompt)
  55.     (help   @copyfiles-help)
  56.     (source "")
  57.     (choices DocSource DocSource2)
  58.     (dest ToolDir)
  59.     (confirm)
  60.     (infos)
  61. )
  62.  
  63. (copyfiles
  64.     (prompt ConfigCopyPrompt)
  65.     (help   @copyfiles-help)
  66.     (source ConfigSource)
  67.     (dest   PrefsDir)
  68. )
  69.  
  70.  
  71. ;(copyfiles
  72. ;    (prompt LangCopyPrompt)
  73. ;    (help   @copyfiles-help)
  74. ;    (source LangSource)
  75. ;    (dest   "LOCALE:catalogs")
  76. ;    (choices "Deutsch" "Svenska")
  77. ;    (confirm)
  78. ; )
  79.  
  80. (copylib
  81.     (prompt CopyLib1Prompt)
  82.     (help   @copylib-help)
  83.     (source LibSource1)
  84.     (dest   "amitcp:LIBS/")
  85.     (confirm)
  86. )
  87.  
  88. (copylib
  89.     (prompt CopyLib2Prompt)
  90.     (help   @copylib-help)
  91.     (source LibSource2)
  92.     (dest   "LIBS:")
  93.     (confirm)
  94. )
  95.  
  96. (message "Welcome to AmiMUD 1.0 by Gabriele Greco\n\n"
  97. "The program has many options so please read carefully the documentation"
  98. "to use it at his top.")
  99.